home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / archiver / unix / zip19p1.zoo / history < prev    next >
Text File  |  1992-08-26  |  50KB  |  938 lines

  1. Note, this history contains mail addresses and ftp locations that no longer
  2. exist, such as addresses at wsmr-simtel20 and directory names containing
  3. w8sdz, among others.  For problems, the correct email address is
  4. zip-bugs@cs.ucla.edu.
  5.  
  6. ------------------------ Nov  7  1990   version 0.0 ------------------------
  7. ------------------------ Nov  8  1990   version 0.1 ------------------------
  8. ------------------------ Nov 12  1990   version 0.2 ------------------------
  9. ------------------------ Nov 14  1990   version 0.3 ------------------------
  10. Thank you for your comments.  Here is Zip 0.3 with almost all of that fixed.
  11. The changes include:
  12.  
  13. 1. Put \n\ for newlines in long strings (everyone had this problem).
  14. 2. Wrote my own bsearch (called search---different args).
  15. 3. Wrote my own timelocal (called invlocal), used whether STDC or not.
  16.    (Note to Greg: look at the code---I found a simple way to do it.)
  17. 4. -m now deletes empty directories also.
  18. 5. Changed crc.c to util.c and put search() in util.c.
  19. 6. Changed "void *" to "voidp *" and made voidp void for STDC, else char.
  20. 7. Removed -a option.
  21. 8. Some minor changes to zip.doc.
  22.  
  23. I did not do anything about Cliff Manis's problem with DIR not being
  24. defined.  DIR should have been defined in sys/dir.h.  If it wasn't, then
  25. there's something wrong with dir.h, or it is missing, or the opendir, etc.
  26. functions are missing.  I don't really want to think about what to do for
  27. the latter possibility.
  28.  
  29. NUnzip 3.99 does not appear to be Unix-ready.  It fails for file names longer
  30. than 12 characters (Segmentation fault), cannot find explicit names that
  31. do not contain a dot, and does not notice the Unix identifier (which should
  32. switch off name to lower-case mapping).
  33.  
  34. ------------------------ Nov 20  1990   version 0.4 ------------------------
  35. Yo Zippers,
  36.  
  37. Here is a first attempt at a Zip intended to work on System V.  Try using
  38. "make sysv" for such systems.  I also included replacements for memset()
  39. and memcmp() by Bill Davidsen and James Dugal for systems without those.
  40. Use "make old" to include those routines.  Sun's use getdents() like Sys V,
  41. even though it's BSD, so use "make sun".  For others, try just "make".
  42.  
  43. When using "make" a second time with a different request, it's best to erase
  44. all the .o files to force recompiling everything.
  45.  
  46. What follows are the changes I made and some things to try if you get it
  47. compiled.  Have fun.
  48.  
  49. Mark
  50.  
  51.  
  52. Changes from Zip 0.3 to Zip 0.4:
  53.  
  54. 1.  Changed third arg of search() to size_t to make lint happier.
  55. 2.  Replaced zip.doc with a man page, zip.1 (raw) and zip.man (formatted).
  56. 3.  rename() replaced with link() and unlink().
  57. 4.  Fixed vem in central header and added REVISION and REVDATE #define's
  58.     to zip.h.  (Didn't read Phil's appnote.txt carefully enough there.)
  59. 5.  Removed prototypes except for development host (NeXT).  (They're only
  60.     there for my benefit anyway---they should not affect the resulting
  61.     code.  Consider them some meager documentation.)
  62. 6.  Changed rindex() to strrchr().
  63. 7.  Improved behavior on a write failure when -b is used.
  64. 8.  Added Bill Davidsen's and James Dugal's memset(), memcpy(), and
  65.     memcmp() routines under the trusty ZMEM #define.
  66. 9.  Check that zip file is writeable before doing any real work.
  67. 10. Added #ifdef REGEX to use regcmp(), regex() instead of re_comp(),
  68.     re_exec().  (We'll see if this works.)
  69. 11. Replaced opendir(), readdir(), closedir() with my own opend(), readd(),
  70.     and closed() routines that use getdirentries() on BSD and getdents() on
  71.     System V (I hope) and Sun's.  An #ifdef DIRENT selects getdents().
  72. 12. zip.h no longer #includes string.h, instead defining the string
  73.     functions used explicitly.
  74.  
  75.  
  76. If you get Zip 0.4 to compile, here are some things to test:
  77.  
  78. 1.  Try zipping up some stuff, of course.  Use all the options that are
  79.     implemented.  Especially try -rp and -rpm on a directory tree (use
  80.     *test* files and directories, of course).
  81. 2.  Naturally check with unzip -t, but also check with "zip xxx" where
  82.     xxx.zip is the zip file.  This should say "nothing to do", but if it
  83.     says "error in zip file structure", there's a problem.
  84. 3.  After zipping, check that there are no $Z* files leftover.
  85. 4.  Try using -b, specifying a path on another device.  Check for $Z*'s.
  86. 5.  Try -d and a regular expression (like \*.o) on a zip file.
  87. 6.  And I'm interested in timing---try it on a 500K or so text file.
  88.  
  89. ------------------------ Nov 27  1990   version 0.5 ------------------------
  90. Hail fellow zippers,
  91.  
  92. Here's Zip 0.5.  The biggie is it now includes implosion, courtesy of Rich
  93. Wales.  Even as we speak, he is working on new algorithms for implode that
  94. promise to be significantly faster.  He might even get a paper out of it ...
  95.  
  96. You can use the -s option (shrink only) when testing to save a little time,
  97. but also try it normally to test implosion (if you test with text files
  98. of reasonable length, implosion will be chosen for most of them).  Also, for
  99. speed testing of implosion, use -i to not waste time trying to shrink.
  100.  
  101. Including implosion about doubles the size of zipnn.tar.Z, so I would like
  102. some input on distributing subsequent versions.  Would y'all like to keep
  103. on getting the uuencoded version via mail, or would you prefer a notice
  104. about availability via anonymous ftp on simtel20.army.mil in <w8sdz.zip>?
  105. (I have been sending the previous versions to Keith to put there, and will
  106. continue to do so.  I do not know what the lag time is for him to move it
  107. there.)
  108.  
  109. The other important change is that this is another attempt at getting the
  110. directory access routines working on all systems.  Read the installation
  111. part of the manual page (zip.man).  And if you feel like, read the whole
  112. thing.  I'm also taking suggestions for and bugs in the documentation.
  113.  
  114. The differences from Zip 0.4 include:
  115.  
  116. 1. Changed all occurences of "size_t" to "extent" and typedef'ed extent
  117.    to size_t (after an #include <stddef.h>) for ANSI C, or unsigned int
  118.    otherwise.  If anyone finds that they have a non ANSI C, that size_t
  119.    is defined, and that it is not the size of the compiler's int, then
  120.    please let me know.
  121. 2. Changed help() to put the help text in a static array of strings and
  122.    then printf() for each line.  Some compilers barfed on the long
  123.    string.  Suggested by davidsen@crdos1.crd.ge.com.
  124. 3. Added Rich Wales' implode routines, made their inclusion the default
  125.    (changed #ifdef IMPLODE to #ifndef NOIMPLODE).
  126. 4. Put "extern int errno;" in unixfile.c (redundant extern's should be ok).
  127. 5. Minor changes to the man page (zip.1 and zip.man).
  128. 6. Added warnings for names given on the command line that are not matched.
  129.    Lack pointed out by grimesg@sj.ATE.SLB.COM (George).
  130. 7. Changed back to opendir(), etc. on BSD systems.
  131. 8. Added NDIR #define for HPUX to #include <ndir.h> instead of <sys/dir.h>.
  132. 9. Redid Makefile, adding next (use shared library), sysvpw (System V's
  133.    that require linking the libPW library for regex routines), and hpux
  134.    (see #8 above).
  135.  
  136. As usual, report problems to info-zip@wsmr-simtel20.army.mil.  If you wish,
  137. you can, in addition, send the same report to me (madler@piglet.caltech.edu)
  138. or Rich (wales@cs.ucla.edu) if the problem is with implosion (i* files) for
  139. quicker reponse.
  140.  
  141. your humble servant,
  142. Mark Adler
  143. ------------------------ Dec  7  1990   version 0.6 ------------------------
  144. Greetings and Felicitations Honorable Zip Compatriots,
  145.  
  146. I have uploaded Zip 0.6, which incorporates most of your helpful comments,
  147. to Simtel20.Army.Mil, and it should evenually end up in <W8SDZ.ZIP> as
  148. ZIP06.TAR-Z.  The most significant change is the addition of encryption
  149. both as the -e option in Zip, and a new program, ZipCloak, that encrypts
  150. and decrypts zip entries.  This surely adds some new portability problems,
  151. due to the getp() routine which reads a password from the terminal with no
  152. echoing.  We'll see how well this flies ...
  153.  
  154. If someone wants to PKZIP up the tar.Z file, please do so.  I didn't zip
  155. it up myself because a) I'm lazy, and b) PKZIP can compress it better
  156. anyhow, and I don't have a PC.
  157.  
  158. Also, there is an EXPORT symbol used to remove encryption, so I can make
  159. an export version that does not have -e or Zi